import React from 'react';
import { Signature } from 'weaver-mobile-page';
import {observer, inject} from "mobx-react";
import { withRouter } from "react-router-dom";

@inject('signInfoStore')
@withRouter
@observer
export default class Sign extends React.Component {

  render() {
    const { signatureStore } = this.props.signInfoStore;
    return (
      <div style={{height: '100%'}}>
        <Signature 
          store={signatureStore}
          onChange={(result) => {
          }}
        >
        </Signature>
      </div>
    );
  }
}